
<h1><span class="yiyi-st" id="yiyi-12">numpy.core.defchararray.isspace</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/generated/numpy.core.defchararray.isspace.html">https://docs.scipy.org/doc/numpy/reference/generated/numpy.core.defchararray.isspace.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<dl class="function">
<dt id="numpy.core.defchararray.isspace"><span class="yiyi-st" id="yiyi-13"> <code class="descclassname">numpy.core.defchararray.</code><code class="descname">isspace</code><span class="sig-paren">(</span><em>a</em><span class="sig-paren">)</span><a class="reference external" href="http://github.com/numpy/numpy/blob/v1.11.3/numpy/core/defchararray.py#L781-L804"><span class="viewcode-link">[source]</span></a></span></dt>
<dd><p><span class="yiyi-st" id="yiyi-14">如果字符串中只有空格字符并且至少有一个字符，则为每个元素返回true，否则返回false。</span></p>
<p><span class="yiyi-st" id="yiyi-15">逐个调用<em class="xref py py-obj">str.isspace</em>。</span></p>
<p><span class="yiyi-st" id="yiyi-16">对于8位字符串，此方法依赖于区域设置。</span></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name">
<col class="field-body">
<tbody valign="top">
<tr class="field-odd field"><th class="field-name"><span class="yiyi-st" id="yiyi-17">参数：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-18"><strong>a</strong>：array_like of str或unicode</span></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name"><span class="yiyi-st" id="yiyi-19">返回：</span></th><td class="field-body"><p class="first"><span class="yiyi-st" id="yiyi-20"><strong>out</strong>：ndarray</span></p>
<blockquote class="last">
<div><p><span class="yiyi-st" id="yiyi-21">输出数组的bools</span></p>
</div></blockquote>
</td>
</tr>
</tbody>
</table>
<div class="admonition seealso">
<p class="first admonition-title"><span class="yiyi-st" id="yiyi-22">也可以看看</span></p>
<p class="last"><span class="yiyi-st" id="yiyi-23"><a class="reference external" href="https://docs.python.org/dev/library/stdtypes.html#str.isspace" title="(in Python v3.7)"><code class="xref py py-obj docutils literal"><span class="pre">str.isspace</span></code></a></span></p>
</div>
</dd></dl>
